<!--
 Copyright 2010 Andrew Rickmann

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<?php include('header.php'); ?>
<div id="content" class="prepend-top last">
    <div id="main-content" class="prepend-top span-18">
    <h1>Intalling Waterwheel</h1>
    <p>To install Waterwheel, first upload the Waterwheel files to your website.</p>
    <p>Once the files are uploaded call <em>{yoursite}/install</em> to run the installation plugin and follow the instructions.</p>
    <h2>Database Configuration</h2>
    <p>Database configuration is stored in the <code>connectiondata.xml</code> file in the root directory. A sample file is included called <code>connectiondata_sample.xml</code>, see below for the contents.</p>
    <p>The installation plugin will create the xml file for you if one does not exist.</p>
    <?php

    $sample_file_content = file_get_contents( APPLICATION_PATH . '/connectiondata_sample.xml'  );
    $geshi->set_source($sample_file_content);
    $geshi->set_language('xml');

    echo $geshi->parse_code();
   
    ?>
    </div>
    <?php include('plugintopics.php'); ?>
</div>
<?php include('footer.php'); ?>

